<?php
/**
 * Created by PhpStorm.
 * User: luzy
 * Date: 2018/5/17
 * Time: 下午3:03
 */

class Invi extends Base_Controller
{
    public function __construct()
    {
        parent::__construct();
    }

    public function getInviPosts()
    {
        $sls = $this->input->get('sls');
        if (empty($sls)) $this->error('param error');

        $this->load->model('salesman_post_model');
        $res = $this->salesman_post_model->getInviPosts($sls,0,10);

        $this->success($res);
    }
}